#ifndef	THREAD_EXCEPTION_HPP
# define THREAD_EXCEPTION_HPP

# include <string>
# include <stdexcept>

namespace wrappers {
namespace pthread {

class ThreadException : public std::runtime_error {
public:
  ThreadException(const std::string &message);
  virtual ~ThreadException() throw ();

  virtual const char *what() const throw ();

protected:
  std::string mMessage;
};

}
}

#endif /* !THREAD_EXCEPTION_HPP */
